package com.webapp;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;

@Slf4j
@EnableCaching
@SpringBootApplication
@EnableScheduling
@MapperScan("com.webapp.mapper")
public class ModelApplication {

    public static void main(String[] args) {
        log.info("----- 开始启动----");
        SpringApplication.run(ModelApplication.class, args);
        log.info("----- 启动完成----");
    }

}
